import $pacsApi from '../../api/pacs'

const state = {
  closeLoading: false
}

const mutations = {
  SET_CLOSE_LOADING (state, payload) {
    console.log('state, payload', state, payload)
    state.closeLoading = payload
  }
}

const actions = {
  setCloseLoading({ commit, state }) {
    commit('SET_CLOSE_LOADING', true)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
